﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DDBuildTools.DataAccess.Components
{
    /// <summary>
    /// .net表类
    /// </summary>
    public class TableEntityToNet:TableEntity
    {
        #region "Private Variables"
        private List<TableColumeToNet> _TableColumeToNets;
        private List<TableColumeToNet> _TableColumeToNets_Key;
        private List<TableColumeToNet> _TableColumeToNets_Identity;
        private List<TableColumeToNet> _TableColumeToNets_NoIdentity;
        private string _ReturnType;

        #endregion

        #region "Public Variables"
        /// <summary>
        /// 返回值类型
        /// </summary>
        public string ReturnType
        {
            get {
                return _ReturnType;
            }
            set {
                _ReturnType = value;
            }
        }

        /// <summary>
        /// .net列集合
        /// </summary>
        public List<TableColumeToNet> TableColumeToNets
        {
            get {
                return _TableColumeToNets;
            }
            set {
                _TableColumeToNets = value;
            }
        }
        /// <summary>
        /// 包含主键列
        /// </summary>
        public List<TableColumeToNet> TableColumeToNets_Key
        {
            get
            {
                return _TableColumeToNets_Key;
            }
            set
            {
                _TableColumeToNets_Key = value;
            }
        }
        /// <summary>
        /// 包含自动ID列
        /// </summary>
        public List<TableColumeToNet> TableColumeToNets_Identity
        {
            get
            {
                return _TableColumeToNets_Identity;
            }
            set
            {
                _TableColumeToNets_Identity = value;
            }
        }

        /// <summary>
        /// 不包含自动ID列
        /// </summary>
        public List<TableColumeToNet> TableColumeToNets_NoIdentity
        {
            get
            {
                return _TableColumeToNets_NoIdentity;
            }
            set
            {
                _TableColumeToNets_NoIdentity = value;
            }
        }
        #endregion
    }
}
